<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=utf-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>spingmvc框架与mybatis框架的整合</title>
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
<table class="tt">
    <tr>
        <th>编号</th>
        <th>姓名</th>
        <th>年龄</th>
        <th>基本操作</th>
    </tr>
    <c:forEach items="${st}" var="i">
        <tr>
            <td>${i.id}</td>
            <td>${i.name}</td>
            <td>${i.age}</td>
            <td><a href="del?id=${i.id}" onclick="return confirm('确认删除：${i.name}?')">删除</a></td>
        </tr>

    </c:forEach>
</table>
<br><br><br>



</body>
</html>
